package cn.fws.meap.community.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 资讯表 meap_information
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Information extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 资讯标题 */
	private String infoTitle;
	/** 资讯内容 */
	private String infoMsg;
	/** 封面图像 */
	private String infoImg;
	/** 语音id */
	private String voiceId;
	/** 视频id */
	private String videoId;
	/** 用户id */
	private String openid;
	/** 资讯类型 */
	private String infoType;
	/** 是否付费 */
	private String isPay;
	/** 收费金额 */
	private BigDecimal payAmount;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	public void setInfoTitle(String infoTitle) {
		this.infoTitle = infoTitle;
	}

	public String getInfoTitle() {
		return infoTitle;
	}
	public void setInfoMsg(String infoMsg) {
		this.infoMsg = infoMsg;
	}

	public String getInfoMsg() {
		return infoMsg;
	}
	public void setInfoImg(String infoImg) {
		this.infoImg = infoImg;
	}

	public String getInfoImg() {
		return infoImg;
	}
	public void setVoiceId(String voiceId) {
		this.voiceId = voiceId;
	}

	public String getVoiceId() {
		return voiceId;
	}
	public void setVideoId(String videoId) {
		this.videoId = videoId;
	}

	public String getVideoId() {
		return videoId;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}
	public void setInfoType(String infoType) {
		this.infoType = infoType;
	}

	public String getInfoType() {
		return infoType;
	}
	public void setIsPay(String isPay) {
		this.isPay = isPay;
	}

	public String getIsPay() {
		return isPay;
	}
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public BigDecimal getPayAmount() {
		return payAmount;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoTitle", getInfoTitle())
            .append("infoMsg", getInfoMsg())
            .append("infoImg", getInfoImg())
            .append("voiceId", getVoiceId())
            .append("videoId", getVideoId())
            .append("createTime", getCreateTime())
            .append("openid", getOpenid())
            .append("infoType", getInfoType())
            .append("isPay", getIsPay())
            .append("payAmount", getPayAmount())
            .toString();
    }
}
